Text [Product_Name] ;;:= Legal Research Guide: Patterns and Practice, Second Ed., 1990; Bonita K. Roberts, St. Mary's University School of Law; Linda L. Schlueter, Esq.
Text [Version_Number] ;;:= F96A
Text [Default_Program_Group] ;;:= LEXIS-NEXIS Legal Education
Text [Default_Directory_Name] ;;:= \ln-edu\etm
Text [Infobase_Title] ;;:= Legal Research Guide
Text [Icon_Name] ;;:= Legal Research Guide
Text [Infobase_File_Name] ;;:= RBRTSRW.NFO
Text [Shadow_File_Name] ;;:= RBRTSRW.SDW
Text [LDF_File_Name] ;;:= RBRTSRW.LDF
Text [Price] ;;:= 19.95
Text [Dial_Number] ;;:= 880-6947
Text [Orig_Dial_Number]
Text [Support_Number] ;;:= 800-555-5555
Text [Disk_Space_Required] ;;:= 0
;; Begin Procedure Definition Variables
;;
Text [Reg_FName] :=
Text [Reg_MName] :=
Text [Reg_LName] :=
Text [Reg_GradYear] :=
Text [Reg_EMail] :=
Text [Reg_Media] :=
Text [Reg_CCNo] :=
Text [Reg_ExpDate] :=
Text [RegUpdate_Text] :=
Text [Reg_IAttempt] :=
Text [Reg_SchoolId] :=
Text [Reg_Phone] :=
Text [Reg_Zip] :=
Text [Reg_State] :=
Text [Reg_City] :=
Text [Reg_Addr2] :=
Text [Reg_Addr1] :=
Text [Reg_LnId] :=
Number [Product_Number]
Text [SysFile_Sver] :=
Text [SysFile_Tver] :=
Text [Screen_Option]
Text [User_Id]
Text [User_Time]
Text [User_Date]
Number [User_Install]
Text [User_Version]
Text [ReInstall_File]
Text [ReInstall_Dir]
Number [Products_Ptr] := 0
Number [Products_End] := 0
Number [Count_Num] := 0
Text [Products_Match] := BlankString
Number [Total_QueSize]
Number [FSPC_OnDrive]
Number [FSPC_Needed]
Text [FSPC_Directory]
Number [FSPC_Additional]
TextArray [Files]
Number [Files_Idx]
Number [Dialog_RcMain] := 0
Text [Dialog_FullInstallRc] :=
;; Variables: FSPChk
Text [FSPChk_Options] :=
Text [FSPChk_DirCheck] :=
Text [FSPChk_DirString] :=
Text [FSPChk_Drive] :=
Text [FSPChk_CurrentDir] :=
Number [FSPChk_Count1] := 0
Number [FSPChk_FreeSpace] := 0
Number [FSPChk_QueSize] := 0
Number [FSPChk_Required] := 0
Number [FSPChk_Rc] :=
Number [FSPChk_MaxIdx] :=
Number [FSPChk_Count] :=
TextArray [FSPChk_MsgList]
TextArray [FSPChk_Dir]
;; Variables: ISysFilesB
Text [ISysFileB_Str1] :=
Text [ISysFileB_Dir] :=
Text [ISysFileB_TDir] :=
Text [ISysFileB_BFile] :=
Text [ISysFileB_Str2] :=
Text [ISysFileB_Str3] :=
Number [ISysFileB_InUseIdx] := 0
Number [ISysFilesB_Group] := 0
Number [ISysFileB_Num1] := 0
Number [ISysFileB_DialogRC] :=
Number [ISysFileB_Rc] := 0
TextArray [ISysFileB_InUse]
TextArray [ISysFileB_Names]
;; Variables: GetGroup
TextArray [GetGroup_Name]
Number [GetGroup_Idx] := 0
Text [GetGroup_Select] :=
TextArray [GetGroup_Info]
Number [GetGroup_InfoIdx] := 0
Text [GetGroup_InputGrp] :=
Text [GetGroup_Input] :=
;; Variables: ReadWrt
TextArray [ReadWrt_Dir] ;; Array list of Drive/Directories to check
Text [ReadWrt_Options] := ;; <All> - Checks all known drives for Read/Write access
Number [ReadWrt_Rc] := ;; 0 = All drives have Read/Write access/or selected dir
;; >0 = Indicates one or more Drives/dirs do not have read/write
TextArray [ReadWrt_DirList] ;; TextArray of Drive/Dirs not Read/Write
AddOrChangeLineWith (IAttempt=,,) As "IAttempt=[Reg_IAttempt]" At End
EndModifyTextFile
ClearScreen
:Exit
[ByeBye_Desc] := '[Infobase_Title]' has been successfully installed to '[InstallationDirectory]'. You may execute '[Product_Name]' from the program group '[IICons_Group]' by clicking the icon titled '[Icon_Name]'.
LText @xy(84,7) 191 24 "Additional free space is required to continue installation. Please free up the required free space bytes and retry the installation."
LText @xy(84,37) 191 24 "Please see your 'Windows 3.1 File Manager' or 'Windows 95 Explorer' to delete any unneeded files to continue installation."
LText @xy(84,67) 191 23 "The following drive(s) have insufficient free space to continue installation."
LText @xy(84,7) 191 44 "During installation one or more directories did not have adequate Read/Write privileges. Read/Write access will be required for the specified directories as listed below before continuing installation."
LText @xy(84,47) 191 24 "Please see your systems administrator concerning access privileges."
LText @xy(84,77) 191 23 "The following directories do not have Read/Write access or are invalid."
LText @xy(84,7) 191 44 "During installation one or more directories did not have adequate Read/Write privileges. Read/Write access will be required for the specified directories as listed below before continuing installation."
LText @xy(84,47) 191 24 "Please see your systems administrator concerning access privileges."
LText @xy(84,77) 191 23 "The following directories do not have Read/Write access or are invalid."
LText @xy(84,7) 189 40 "An icon for the electronic materials you are currently installing will be created. The default group is LEXIS-NEXIS Legal Education. You may select another group or enter a new one in the list box below."
LText @xy(75,7) 195 50 "To proceed with the purchase and installation of ([T_Desc]) ."
LText @xy(75,45) 195 40 "You will need to dial [Support_Number] while at this screen. Have your credit card, Product Id, and Instance Code ready as shown below. When the sales representative gives you the corresponding key, enter the Access Code you are given in the box below."
[Text_1] := [Infobase_Title] will be installed to the following drive and directory. To change the installation directory, use the edit box below or select 'Change' and follow the prompts.
LoadBitMap ShadowDirectory\etm.Bmp
UpdateWindow
;; ***Substitute source directory for ShadowDirectory argument if necessary***
;; Multiple paths to the same .exe name, prompt user to specify which path
;; is the current path.
[Number1] := LastIndexUsedFor [Views31Dirs]
If [Number1] > 1
ClearScreen
HideBitMap 13
:Prompt_User
[ScanIcons_ExePath] := BlankString
[ScanIcons_Text] := Because you have multiple versions of VIEWS.EXE, we were unable to determine which directory contains your current working version of VIEWS.EXE.
[Invalid_Views] := False
;; Prompt user for new program group name
DialogBox @xy(center,80) 284 165 Returns [Dialog_Rc] BlackOnLightGray UseHeader "Unable To Determine Working Directory" ;;F:\VR\SCRIPTS\PROGROUP.DBB
;; Filter Code to filter out unwanted text leaving only the directory path.
[Views31IDir] := PathNameOf [ScanIcons_ExePath]
Exit
Else
[Views31IDir] := PathNameOf [Views31Dirs][1]
if FileExists [Views31IDir]\rightsmn.dll .And. FileExists [Views31IDir]\libstub.dll
Exit
else
Dialog UserHeader "Missing Required Files"
You are missing files that are required for
Folio Bound Infobases. You must reinstall
Folio VIEWS from LEXIS-NEXIS Office for Legal
Education after you complete the current
product installation.
EndDialog
Exit
EndIf
;; Filter Code to filter out unwanted text leaving only the directory path.
EndIf
;; If not found anywhere then assume that it is in the path
ClearScreen
DialogBox @xy(center,80) 284 165 Returns [Dialog_Rc] BlackOnLightGray UseHeader "Unable To Determine Working Directory" ;;F:\VR\SCRIPTS\PROGROUP.DBB
Font "MS Sans Serif" 8
BitMap @xy(8,7) BitMap 14
LText @xy(83,7) 197 50 "The installer was unable to locate Views.exe. Please install Folio VIEWS from the LEXIS-NEXIS Millennium+ Software Collection."
LText @xy(8,10) 90 80 "Your credit card is about to be charged for [Infobase_Title]. Once online registration is successful, the final price will be displayed, and installation will proceed."
LText @xy(8,50) 90 80 "Are you sure you wish to proceed?"
[Err_Text] := Make sure that your modem, phone line, and cable are properly connected. Verify that your modem has been reset before attempting 'ReTry'.
do ErrorMsg
If [Dialog_Rc] = 100 .Or. [Dialog_Rc] = 300
Exit
EndIf
If [Dialog_Rc] = 200
Goto SendData_Init
EndIf
EndIf
UnLoadBitMap 13
;;ClearScreen
LoadBitMap 13 ShadowDirectory\OneM.Bmp
ShowBitMap 13 @xy(Center,Center)
TextOut OnBitMap 13 @xy(60,17) Dialing the LEXIS-NEXIS
TextOut OnBitMap 13 @xy(60,33) Online Registration Service ...
UpdateWindow
CallDll [Dll1] DialNumber ([Dial_Number]) Returns short [Call_Rc]
If [Call_Rc] = -101
UnLoadDll [Dll1]
UnLoadBitMap 13
ClearScreen
Do LineBusy
If [Dialog_Rc] = 300
Exit
EndIf
Goto SendData_Init
EndIf
If [Call_Rc] <> 0
[Err_Desc] := 'Error while dialing number.([Call_Rc])'
[Err_Text] := Unable to connect to the LEXIS-NEXIS Online Registration Service. Please make sure that your modem is configured properly and able to connect to an outside phone line.
CallDll [Dll1] Terminate() Returns short [Call_Rc]
UnLoadDll [Dll1]
UnLoadBitMap 13
do ErrorMsg
If [Dialog_Rc] = 100 .Or. [Dialog_Rc] = 300
Exit
EndIf
If [Dialog_Rc] = 200
Goto SendData_Init
EndIf
EndIf
UnLoadBitMap 13
ClearScreen
LoadBitMap 13 ShadowDirectory\OneM.Bmp
ShowBitMap 13 @xy(Center,Center)
TextOut OnBitMap 13 @xy(60,17) Signing on to LEXIS-NEXIS
TextOut OnBitMap 13 @xy(60,33) Online Registration Service ...
UpdateWindow
[String1] := Lexis Nexis
CallDll [Dll1] LoginSequence ([String1]) Returns short [Call_Rc]
If [Call_Rc] <> 0
[Err_Desc] := 'Server LoginSequence Error'
[Err_Text] := Unable to login to server. Unknown errors while attempting to login.
CallDll [Dll1] Terminate() Returns short [Call_Rc]
UnLoadDll [Dll1]
do ErrorMsg
If [Dialog_Rc] = 100 .Or. [Dialog_Rc] = 300
Exit
EndIf
If [Dialog_Rc] = 200
Goto SendData_Init
EndIf
EndIf
[String1] := R ;; Payware=R ;; EEF=E
CallDll [Dll1] StartMenuSequence ([String1]) Returns short [Call_Rc]
If [Call_Rc] <> 0
[Err_Desc] := 'Server StartMenuSequence Error'
[Err_Text] := Unable to start server menu. Unknown errors occurred while starting a transaction.
CallDll [Dll1] Terminate() Returns short [Call_Rc]
UnLoadDll [Dll1]
do ErrorMsg
If [Dialog_Rc] = 100 .Or. [Dialog_Rc] = 300
Exit
EndIf
If [Dialog_Rc] = 200
Goto SendData_Init
EndIf
EndIf
;; Load Senddata
SetTokenDelimiterTo ,
[S_Count] := 0
[S_Text] := BlankString
UnLoadBitMap 13
ClearScreen
LoadBitMap 13 ShadowDirectory\OneM.Bmp
ShowBitMap 13 @xy(Center,Center)
TextOut OnBitMap 13 @xy(60,25) Processing Online Registration Form ...
UpdateWindow
ClearArray [Array1]
[Array1] := [WindowsDirectory]\LNForms.Dat
;;GetMenuChoice
;;[Array1]
;;EndGetMenuChoice
[Number1] := 0
[Number2] := LastIndexUsedFor [Array1]
[S_Count] := 0
SetTokenDelimiterTo =
ExamineTextFile [WindowsDirectory]\LNForms.Dat
[S_Text] := BlankString
[Ts_Text] := Go!!
[Dialog_Rc] := 0
While [TS_text] <> BlankString
IncrementNumber [S_Count]
[TS_text] := Token 1 Of [Array1][[S_Count]]
[String1] := Token 2 Of [Array1][[S_Count]]
If [TS_text] = BlankString
[S_Text] := ""<END>""
Else
[String2] := SettingFor [TS_text]
[S_Text] := ""[String2]""
EndIf
:SendData_Retry
CallDll [Dll1] SendString ([S_Text]) Returns short [Call_Rc]
If [Call_Rc] <> 0
[Err_Desc] := 'SendString Error'
[Err_Text] := An error occurred while sending data to the server.
CallDll [Dll1] Terminate() Returns short [Call_Rc]
LText @xy(84,7) 189 40 "You are about to dial into the LEXIS-NEXIS Online Registration Service. This is a TOLL FREE call! If your phone requires a dial prefix in order to reach an outside line, please enter it now."
LText @xy(84,70) 190 30 "Click 'Next' to install your purchased product."
EndDialogBox
If [Dialog_Rc] = 300
SoLong Quietly
EndIf
EndProcedure
Procedure PB_ExitOn
EnableWindow RegScreen.Back On
EnableWindow RegScreen.RegCheck On
EnableWindow RegScreen.RegCancel On
EnableWindow RegScreen.Pb_HomeAddr On
EndProcedure
Procedure NoProducts
:NoProd_test
SetTokenDelimiterTo ,
[Reg_Media] := D
[String11] := Invalid Product Id - ([Product_File])
[String10] := BlankString
[String1] := The PVL file for this installation does not contain an NFO base, or the specified product as specified via -P: is invalid. To install an NFO base product you must do so by selecting from the product list below, or via the command line using -P:{filename_below_with_no_file_extension}.
;; LText @xy(84,7) 181 40 "The previous installation was unsucessfull, but the selected product file was sucessfully downloaded. Please select one of the following functions"
LText @xy(81,7) 191 50 "You have chosen to exit the LEXIS-NEXIS installation program. The title you have chosen has NOT been installed successfully. Please re-run the install program to install the selected title."
LText @xy(81,7) 191 50 "You have chosen to exit the LEXIS-NEXIS installation program. The title you have chosen has NOT been installed successfully. Please re-run the install program to install the selected title."
[ByeBye_Desc] := During the installation of '[Infobase_Title]' a message was received from the server. See the server message below for more information.
[StringS] := Before installing any software that is part of the LEXIS-NEXIS Millennium+ Software Collection you should carefully read the associated terms and conditions (the "Agreement"). Installing any software from the LEXIS-NEXIS Millennium+ Software Collection indicates your acceptance of these terms and conditions. If you do not agree with them, do not install the software.